package com.hm.ipay.dao;

import com.hm.ipay.entity.AccountConversionPlan;

import java.math.BigDecimal;
import java.util.List;

public interface AccountConversionPlanMapper {
    int deleteByPrimaryKey(Long id);

    int insert(AccountConversionPlan record);

    int insertSelective(AccountConversionPlan record);

    AccountConversionPlan selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(AccountConversionPlan record);

    int updateByPrimaryKey(AccountConversionPlan record);

    List<AccountConversionPlan> selectAllPlanByStatus(Integer status);

    BigDecimal totalWinUps(Long userId);
}